package com.gp.learn.ssm.base.system.mapper;

import com.gp.learn.ssm.base.core.security.model.OpenAuthority;
import com.gp.learn.ssm.base.system.entity.BaseAuthorityUser;
import com.gp.learn.ssm.base.core.mybaits.base.mapper.SuperMapper;

import java.util.List;

/**
 * 系统权限-用户关联 Mapper 接口
 * @author gp
 * @since 2020-08-10
 */
public interface BaseAuthorityUserMapper extends SuperMapper<BaseAuthorityUser> {

    List<OpenAuthority> selectAuthorityByUser(Long userId);
}
